package com.lanju.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 短信验证码表
 * @author linjp
 * @CrateTime 20181015
 */
@Entity
@Table(name="lj_sms_captcha")
public class SMSCaptcha implements Serializable{

	private static final long serialVersionUID = 2367346290820717260L;
	
	private String smsId;
	
	private String phone;
	
	private String captcha;
	
	private Date createTime;
	

	@Id
	@Column(name = "smsId", unique = true, nullable = false)
	public String getSmsId() {
		return smsId;
	}

	public void setSmsId(String smsId) {
		this.smsId = smsId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	

	
	
}
